<template>
  <div>
    <div>
      <h4>Rivermead 行为记忆量表</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="5">
          <div>
            <span>姓和名 </span>
            <el-input v-model="pgForm.rivermead_input1" placeholder="" style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>藏起的物品 </span>
            <el-input v-model="pgForm.rivermead_input2" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>预约时间 </span>
            <el-input v-model="pgForm.rivermead_input3" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>一段路 </span>
            <el-input v-model="pgForm.rivermead_input4" placeholder="" style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>延迟一段路 </span>
            <el-input v-model="pgForm.rivermead_input5" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>一项任务 </span>
            <el-input v-model="pgForm.rivermead_input6" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>新技能 </span>
            <el-input v-model="pgForm.rivermead_input7" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>定向 </span>
            <el-input v-model="pgForm.rivermead_input8" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="6">
          <div>
            <span>日期 </span>
            <el-input v-model="pgForm.rivermead_input9" placeholder="" style="width: 40%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>辨认而孔 </span>
            <el-input v-model="pgForm.rivermead_input10" placeholder="" style="width: 30%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>认识图画 </span>
            <el-input v-model="pgForm.rivermead_input11" placeholder="" style="width: 30%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="12">
          <div>
            <span>总分 </span>
            <el-input v-model="pgForm.rivermead_input12" placeholder=""  style="width: 80%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="12"  class="oneRow">
          <span>记忆功能是否受损</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.rivermead_radio"  style="width: 100%;">
              <el-radio :label="1">是</el-radio>
              <el-radio :label="2">否</el-radio>
              <el-input v-model="pgForm.rivermead_input13" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "rivermead",
  title: "Rivermead行为记忆星表",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data () {
    return {

      pgForm: {
        rivermead_radio: '',
        rivermead_input1: '',
        rivermead_input2: '',
        rivermead_input3: '',
        rivermead_input4: '',
        rivermead_input5: '',
        rivermead_input6: '',
        rivermead_input7: '',
        rivermead_input8: '',
        rivermead_input9: '',
        rivermead_input10: '',
        rivermead_input11: '',
        rivermead_input12: '',
        rivermead_input13: '',
      },
    };
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
</style>
